//导入request.js请求工具
import request from '@/utils/request.js'

//提供注册接口的函数
export const userRegisterService = (registData) => {
    
    return request.post('/auth/register', registData)
}

export const userLoginService = (loginData) => {

    return request.post('/auth/login', loginData)
}

export const userLogoutService = () => request.post('/auth/logout')